package com.cu.jiekong.service;

import com.cu.jiekong.frame.model.Ret;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author jintian
 * @date 15:19
 */
@FeignClient(value = "user-system", fallbackFactory = com.cu.jiekong.frame.HystrixHandler.class)
public interface AppFeignService {

    @RequestMapping(value = "/user/getUserById")
    Ret getAppUserById(String userId, String sign);
}
